package com.itboy.mall.sms.memberprice.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品会员价格对象 mall_member_price
 *
 * @author itboy
 * @date 2021-08-08
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("mall_member_price")
public class MallMemberPrice implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * id
     */
    @TableId(value = "id")
	@JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * sku_id
     */
	@JsonSerialize(using = ToStringSerializer.class)
    private Long skuId;

    /**
     * 会员等级id
     */
	@JsonSerialize(using = ToStringSerializer.class)
    private Long memberLevelId;

    /**
     * 会员等级名
     */
    private String memberLevelName;

    /**
     * 会员对应价格
     */
    private BigDecimal memberPrice;

    /**
     * 可否叠加其他优惠[0-不可叠加优惠，1-可叠加]
     */
    private Integer addOther;

}
